package com.tjl.guess_figure;

public class Test {
    public static void main(String[] args) {

        Guess guess = new Guess();
        new Thread(()-> {
            while (true) {
                guess.set();
            }
        },"线程一").start();

        new Thread(()-> {
            while (true) {
                guess.cai();
            }
        },"线程二").start();


    }
}




